// +----------------------------------------------------------------------
// | jufeiniu [干就完了 - JUST DO IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2022 https://jufeiniu.com/ All rights reserved.
// +----------------------------------------------------------------------
// | Author: 乔欣弥弥-巨肥牛 <jufeiniu@163.com>
// +----------------------------------------------------------------------
// | Personal site: https://jufeiniu.com/
// +----------------------------------------------------------------------
import request from "@/utils/request.js";

/**
 * 今日收入
 * 
 */
export function todayIncome(data) {
	return request.post('store/todayIncome',data);
}
/**
 * 用户汇总
 * 
 */
export function amountIncome(data) {
	return request.post('store/amountIncome',data);
}
/**
 * 餐厅分类
 * 
 */
export function storeCate(data) {
	return request.post('store/cate',data);
}
/**
 * 门店分类
 * 
 */
export function storeList(data) {
	return request.post('store/lists',data);
}

/**
 * 头像
 * 
 */
export function editAvatar(data) {
	return request.post('user/change/info',data);
}
/**
 * 商家优惠卷列表
 * 
 */
export function couponList(data) {
	return request.post('storecoupon/index',data);
}
/**
 * 提交反馈意见
 * 
 */
export function submitAdvice(data) {
	return request.post('invoice/takeAdvice',data);
}
/**
 * 提交反馈意见
 * 
 */
export function getAdvType(data) {
	return request.post('invoice/adviceType',data);
}
// invoice/
/**
 * 提交反馈意见
 * 
 */
export function getUserInfo(data) {
	return request.post('user/profile',data);
}
/**
 * 提交反馈意见
 * 
 */
export function getInfoList(data) {
	return request.post('invoice/msgList',data);
}
export function changeMobile(data) {
	return request.post('user/changemobile',data);
}
export function uploadImg(data) {
	return request.post('common/upload',data);
}
export function mobilelogin(data) {
	return request.post('user/mobilelogin',data);
}

export function orderslist(data) {
	return request.post('store/orderLists',data);
}
export function storeLists(data) {
	return request.post('store/storeLists',data);
}

